#ifndef WAITTINGBAR_H_
#define WAITTINGBAR_H_

#include <coecntrl.h>
class CGraphicsContext;
class CGifPicture;
class CPainter;

class CWaittingBar : public CCoeControl
{
public:
	CWaittingBar(CPainter* aPainter);
	virtual ~CWaittingBar();
    static CWaittingBar* NewL( CPainter* aPainter, const TRect& aRect );
    static CWaittingBar* NewLC( CPainter* aPainter, const TRect& aRect );	
private:
    void ConstructL(const TRect& aRect);  
protected:    
    void Draw( const TRect& aRect ) const;    
public:
	void SimpleWait();
private:
	CGifPicture* iGif;
	CPainter* iPainter;
};


#endif /*WAITTINGBAR_H_*/
